/**
 * 
 */
package com.fox.webapp.domain;

import java.util.Date;

import org.bson.types.ObjectId;

/**
 * @author yockii
 *
 */
public class SiteMessage {

	private ObjectId id;
	private String title;
	private String content;
	private String fromUsername;
	private String toUsername;
	
	private Date sendTime;
	private Boolean isSystem;
	/**
	 * @return the id
	 */
	public ObjectId getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(ObjectId id) {
		this.id = id;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the fromUsername
	 */
	public String getFromUsername() {
		return fromUsername;
	}
	/**
	 * @param fromUsername the fromUsername to set
	 */
	public void setFromUsername(String fromUsername) {
		this.fromUsername = fromUsername;
	}
	/**
	 * @return the toUsername
	 */
	public String getToUsername() {
		return toUsername;
	}
	/**
	 * @param toUsername the toUsername to set
	 */
	public void setToUsername(String toUsername) {
		this.toUsername = toUsername;
	}
	/**
	 * @return the sendTime
	 */
	public Date getSendTime() {
		return sendTime;
	}
	/**
	 * @param sendTime the sendTime to set
	 */
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	/**
	 * @return the isSystem
	 */
	public Boolean getIsSystem() {
		return isSystem;
	}
	/**
	 * @param isSystem the isSystem to set
	 */
	public void setIsSystem(Boolean isSystem) {
		this.isSystem = isSystem;
	}
	
}
